home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8444 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  849 b 

  1. Path: innotts.co.uk!usenet
  2. From: garyp@innotts.co.uk (Gary Proudfoot)
  3. Newsgroups: comp.lang.c++
  4. Subject: Single Threading
  5. Date: Sun, 18 Feb 1996 15:13:47 GMT
  6. Organization: The Internet in Nottingham
  7. Message-ID: <4g7fml$7eq@mapperley.innotts.co.uk>
  8. NNTP-Posting-Host: seriald22.innotts.co.uk
  9. X-Newsreader: Forte Agent .99c/32.126
  10.  
  11. Can anybody help with threading a Dialog app in Microsoft VC4
  12. I have used code from the Mutexes sample app and applied it 
  13. to my Dialog box app. The original was multithreading but all I need
  14. is a single thread which I have got working fine but the problem is
  15. stopping the thread.  The sample code is doing all its processing
  16. within the thread run loop and the onclose code sets a flag which
  17. stops the loop, my code needs to put a call out to a function which
  18. then calls other functions to process. How do I stop it!!
  19.  
  20.